package cn.com.bluemoon.daps.system.service;

import cn.com.bluemoon.daps.system.entity.DapSystemProperty;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 系统字典表 服务类
 * </p>
 *
 * @author admin
 * @since 2021-12-29
 */
public interface DapSystemPropertyService extends IService<DapSystemProperty> {


    IPage<DapSystemProperty> systemPropertyPage(Integer pageSize, Integer pageNum, String key);

    Boolean insertOrUpdateProperty(DapSystemProperty dapSystemProperty);

    DapSystemProperty propertyInfo(String id);

    Boolean deleteProperty(String id);

    Map<String, List<DapSystemProperty>> getByPropertyGroups(List<String> propertyGroups);

}
